package com.nsyue.auth.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * (UserRole)表实体类
 *
 * @author laixm
 * @since 2023-05-06 16:08:48
 */
@SuppressWarnings("serial")
public class UserRole extends Model<UserRole> {
    //主键id
    private Long id;
    //用户id
    private Long userId;
    //角色id
    private Long roleId;
    //创建用户id
    private Long creatUserId;
    //创建时间
    private Date createTime;
    //修改用户id
    private Long updateUserId;
    //修改时间
    private Date updateTime;
    //版本号
    private Long version;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getCreatUserId() {
        return creatUserId;
    }

    public void setCreatUserId(Long creatUserId) {
        this.creatUserId = creatUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

 }

